package cn.sykj.car.mapper;

import cn.sykj.car.entity.Dictionary;
import cn.sykj.car.vo.DictionaryVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 字典表 Mapper 接口
 * </p>
 *
 * @author Yixu
 * @since 2018-12-06
 */
public interface DictionaryMapper extends BaseMapper<Dictionary> {

    //修改字典表数据
    public int updateDictionary(@Param("request") Dictionary dictionary);

    //查看字典表
    public List<DictionaryVO> pageDictionary(@Param("page") IPage<DictionaryVO> page, @Param("request") Dictionary dictionary);
    public List<DictionaryVO> pageDictionary(@Param("request") Dictionary dictionary);

}
